<?php
/**
 * 项目管理模块
 * User: FYL
 * Date: 2016/11/23
 * Time: 11:01
 */
class Involved_RefundItemPlanModel extends BaseModel
{

    protected $table = 'refund_item_plan';


    public function ItemPlan($item_id){
        return DB::table($this->table)
            ->where('item_id',$item_id)
            ->get();
    }

    public function ItemPlanCount($item_id){
        return DB::table($this->table)
            ->where('item_id',$item_id)
            ->count();
    }


}